package parameter;


class Student{
	int score;
}

class Teacher{
	void test(Student student) {  // @7852e922
		System.out.println("student:" + student);
		System.out.println("test....");
		System.out.println(student.score);   // 90
		student.score += 2;
		System.out.println(student.score);   // 92
	}
}

public class ParameterTest {
	public static void main(String[] args) {
		Student s = new Student(); // @7852e922
		System.out.println("s:" + s);
		s.score = 90;
		
		Teacher t = new Teacher();
		t.test(s);
		
		System.out.println("main...");
		System.out.println(s.score);  //90=1,92=2 
	}
}
